package com.cl.datasubscription.schedule.config;

import com.cl.chlorine.repository.ScheduleRepository;
import com.cl.chlorine.schedule.CronTaskRegistrar;
import com.cl.chlorine.schedule.ScheduleConfig;
import com.cl.datasubscription.entity.SubscribeKeywordTask;
import org.springframework.stereotype.Component;

@Component
public class SpiderScheduleConfig extends ScheduleConfig<SubscribeKeywordTask> {

    public SpiderScheduleConfig(CronTaskRegistrar<SubscribeKeywordTask> taskRegistrar, ScheduleRepository<SubscribeKeywordTask> spiderRepository) {
        super(taskRegistrar, spiderRepository);
    }
}

